package com.chen.controller;


import com.chen.service.OrderReturnReasonService;
import com.chen.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 退货原因表 前端控制器
 * </p>
 *
 * @author cws
 * @since 2024-11-30
 */
@RestController
@RequestMapping("/mall/orderReturnReason")
public class OrderReturnReasonController {
    @Resource
    private OrderReturnReasonService orderReturnReasonService;
    @GetMapping
    public Result getList() {
        return Result.success(orderReturnReasonService.list());
    }

}

